package com.lxy.dao;


import com.lxy.bean.User;
import com.lxy.generic.GenericDao;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface UserMapper extends GenericDao<User, Integer> {
	int deleteByPrimaryKey(Integer id);

	int insert(User record);

	int insertSelective(User record);

	User selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(User record);

	int updateByPrimaryKey(User record);

	User getUserByUserName(String userName);

	List<User> getAll();
}